package jgl.vajra.operator.part.login.contract;

import java.util.Map;

import io.reactivex.Observable;
import jgl.vajra.operator.databinding.ActivityBindMachineBossBinding;
import jgl.vajra.operator.databinding.ActivityUnboundMachineBossBinding;
import jgl.vajra.operator.widget.mvvm.model.BaseModel;
import jgl.vajra.operator.widget.mvvm.view.BaseMVVMView;
import jgl.vajra.operator.widget.mvvm.viewmodel.BaseViewModel;

public class UnboundMachineBossContract{

    public abstract static class Model extends BaseModel {

        public abstract Observable<Object> bindMachineData(Map<String, Object> map);
    }

    public interface View extends BaseMVVMView {

        void onDetermine();

        void returnBindMachineData();
    }

    public abstract static class ViewModel extends BaseViewModel<View, ActivityUnboundMachineBossBinding, Model> {


        public abstract void bindMachineData(Map<String, Object> map);
    }
}
